package com.hsj.busmanager.mapper;

import com.hsj.busmanager.api.CostType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CostTypeMapper {
    int deleteByPrimaryKey(String costName);

    int insert(CostType record);

    int insertSelective(CostType record);

    CostType selectByPrimaryKey(String costName);

    int updateByPrimaryKeySelective(CostType record);

    int updateByPrimaryKey(CostType record);

    List<CostType> getCostTypePage(Integer start, int limit,@Param("costType") CostType costType);

    int getCostTypeCount(@Param("costType")CostType costType);

    void deleteByCostName(String costName);
}